Specifies which network interface the socket should use when binding. Leaving this property set to Nil will use the currently selected interface.
Syntax |
|---|
|
NetworkInterface( NetworkInterface ) as |
Parameters |
|
|---|---|
|
NetworkInterface |
|
Notes
In the case of UDPSockets, if you assign a non- Nil value, the socket may not be able to receive messages. The behavior is OS-dependent; it appears to work on Windows but not on other supported operating systems. If you wish to receive messages, the safest procedure is to assign this property to Nil.
You can get the network interface(s) of the user's computer by calling the GetNetworkInterface method of the System object.